﻿using System.Collections.Specialized;
using System.ComponentModel;
using MugenMvvmToolkit.Models;

namespace MugenMvvmToolkit.Interfaces
{
    /// <summary>
    ///     Notifies listeners of dynamic changes, such as when items get added and removed or the whole list is refreshed.
    /// </summary>
    public interface INotifyCollectionChanging : INotifyCollectionChanged, INotifyPropertyChanged
    {
        /// <summary>
        ///     Occurs before the collection changes.
        /// </summary>
        event NotifyCollectionChangingEventHandler CollectionChanging;
    }
}